package com.example.apiusernacosseata.feign;

import com.wu.common.entity.ResultData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author whx
 * @date 2022/3/12
 */
@FeignClient(name = "api-order-nacos-seata")
public interface OrderFeign {

    @PostMapping("order/update")
    ResultData orderUpdate(@RequestParam("id") int id);

}


